import Vue from 'vue'
import VueRouter from 'vue-router'
import AddressBook from '../views/addressBook.vue'
import ChangePW from '../views/changePW.vue'
import AafeInformation from '../views/safeInformation.vue'
import SafeInfoDetail from '../views/safeInfoDetail.vue'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'AddressBook',
    component: AddressBook
  },
  {
    path: '/safeInformation',
    name: 'AafeInformation',
    component: AafeInformation
  },
  {
    path: '/safeInfoDetail',
    name: 'SafeInfoDetail',
    component: SafeInfoDetail
  },
  {
    path: '/changePW',
    name: 'ChangePW',
    component: ChangePW
  }
]

const router = new VueRouter({
  routes,
})

export default router
